package com.tboss.template.system.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.tboss.template.system.dao.MappingGroupFunctionDao;
import com.tboss.template.system.dto.MapGrpFnDto;

@Service
public class MappingGroupFunctionService {

	@Autowired MappingGroupFunctionDao mapGrpFnDao;
	
	public List<MapGrpFnDto> getMappingGrpFnList(MapGrpFnDto dto){
		return this.mapGrpFnDao.getMappingGrpFnList(dto);
	}
	
	public List<MapGrpFnDto> getNotMappingGrpFnList(String grpId){
		return this.mapGrpFnDao.getNotMappingGrpFnList(grpId);
	}
	
	public void addMappingGrpFn(MapGrpFnDto items){
		this.mapGrpFnDao.addMappingGrpFn(items);
	}
	
	public void delMappingGrpFn(String grpId){
		this.mapGrpFnDao.delMappingGrpFn(grpId);
	}
	
}
